package com.xxl.sso.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author xuxueli 2018-03-22 23:41:47
 */
@SpringBootApplication
@CrossOrigin(value = {"http://localhost:8081","http://127.0.0.1:8081","http://honglitech.cn","https://honglitech.cn","http://honglitech.cn:8081","http://47.98.120.14"})
@MapperScan("com.xxl.sso.server.mapper")
public class XxlSsoServerApplication {

	public static void main(String[] args) {
        SpringApplication.run(XxlSsoServerApplication.class, args);
	}

}
